// 接口参数常量
// 适用页面：订单列表，订单详情
const ORDER_STATE = {
  '0': '待支付',
  '1': '支付中',
  '2': '支付失败',
  '3': '支付成功',
  '4': '订单取消'
}
let CHANNEL_SOURCE = wx.getStorageSync('channel') || '05000300' // channel_source值
const REQUIST_APP_ID = 'MiniProgram' // appId
const AUTH_TYPE = 'MD5' // authType
const COORDINATE = '0.0,0.0' // coordinate
const CUST_STRING = ' jfmore_h5' // custString
const MACHINE_NO = 'abcdefgh1234567890' // machineNo
const PLATFORM = 'MiniProgram' // platform
const MSG_VERSION = '1.0.0' // msgVersion
const REQUIST_TYPE = '14'
const REQUIST_IP = '0.0.0.0'

const CONSTANT = {
  ORDER_STATE,
  CHANNEL_SOURCE,
  PLATFORM,
  MACHINE_NO,
  REQUIST_APP_ID,
  AUTH_TYPE,
  COORDINATE,
  CUST_STRING,
  MSG_VERSION,
  REQUIST_TYPE,
  REQUIST_IP
}
export default CONSTANT
